package com.xqls.service.impl;

import com.xqls.dal.dao.FluggasTableFieldDao;
import com.xqls.dal.model.FluggasTableField;
import com.xqls.service.FluggasTableFieldService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by hdg on 2017/7/5.
 */
@Service
public class FluggasTableFieldServiceImpl implements FluggasTableFieldService {
    @Autowired
    FluggasTableFieldDao FluggasTableFieldDao;
    @Override
    public List<FluggasTableField> selectBydisplayfield(List<String> displayfield) {
        return FluggasTableFieldDao.selectBydisplayfield(displayfield);
    }

    @Override
    public List<FluggasTableField> selectAll() {
        return FluggasTableFieldDao.selectAll();
    }

    @Override
    public boolean insert(FluggasTableField record) {
        return FluggasTableFieldDao.insert(record)>0;
    }
}
